package training.framework.business;

public abstract class AbstractEntity<Identifier> implements Cloneable {
	public abstract void setIdentifier(Identifier identifier);
	public abstract Identifier getIdentifier();
	
	@SuppressWarnings("unchecked")
	public AbstractEntity<Identifier>  clone(){
		try {
			return (AbstractEntity<Identifier>) super.clone();
		} catch (CloneNotSupportedException e) {
			throw new InternalError(e.getMessage());
		}
	}
}
